package com.platform.modules.wallet.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 钱包状态
 */
@Getter
public enum WalletStatusEnum {

    /**
     * 正常
     */
    NORMAL("0", "正常"),
    /**
     * 异常
     */
    AB_NORMAL("1", "异常"),

    ;

    @EnumValue
    @JsonValue
    private String code;
    private String info;

    WalletStatusEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }
}
